package com.zhifa.dao;

import java.util.List;
import java.util.Map;

import com.zhifa.entity.Salarystandard;

public interface SalarystandardDao {

	public Salarystandard findsalarysByid(Integer id);
	
	public Salarystandard findsalarysByTimestamp(String timestamp);
	
	public int addSalarystandard(Salarystandard salarystandard);
	//根据时间戳查询名称
	public String getNameByTimestamp(String timestamp);
	
	//根据名称查询时间戳
	public String gettimestampByName(String name);
	
	
	public List<Salarystandard> getAll();
	
	public List<Salarystandard> getListByMap(Map<String, Object>map);
	
	public Long getCountByMap(Map<String, Object>map);
	
	public int updateSalarystandard(Salarystandard salarystandard);
	
	public int setSalarystandard(String timestamp);
	
}
